<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/1/24
  Time: 16:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
 ${requestScope.abc}
<c:set scope="request" var="abc" value="abcdddd">


</c:set>
${requestScope.abc}

<c:if test="${11 == 11}">
    <h1>12等于12</h1>
</c:if>

 <hr>
<%
    request.setAttribute("height",180);
%>
<c:choose>
    <c:when test="${requestScope.height > 200}">
        <h1>巨人</h1>
    </c:when>
    <c:when test="${requestScope.height > 180}">
        <h2>很高</h2>
    </c:when>
    <c:when test="${requestScope.height >160}">
        <h2>还好</h2>
    </c:when>
    <c:otherwise>
        <c:choose>
            <c:when test="${requestScope.height >150}">
                <h3>laji</h3>
            </c:when>
        </c:choose>
    </c:otherwise>
</c:choose>

<c:forEach begin="1" end="10" var="i">
    ${i}
</c:forEach>



</body>
</html>
